@charset "UTF-8";

@import "_general.scss";//通用代码
*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    
}
body,html{
    width: 100%;
    height: 100%;
}

/* 小米商城log */
.container{
    height: 100%;
    width: 100%;
    .container-left{
        height: 100%;
        width: 375px;
        position: fixed;
        background: url("https://cdn.web-global.fds.api.mi-img.com/mcfe--mi-account/static/static/media/banner.4994397e.jpg") no-repeat;
        background-size: cover;        
        background-position: 50%;
    }
    .container-right{
        width: 1144.2px;
        float: right;
        .container-header{
            padding: 20px;
            height: 80px;
            width: 100%;
            @include flex;
            justify-content: space-between;
            align-items: center;
            .mi-layout__title {
                .mi-layout__logo {
                    margin-right: 10px;
                    display: inline-block;
                    vertical-align: top;
                    width: 40px;
                    height: 40px;
                }
                height: 40px;
                font-size: 25px;
                font-weight: 600;
                color: #333;
                line-height: 40px;
            }
            .mi-layout_nav{
                height: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-right: 96px;
                .text-select{
                    position: absolute;
                    top: 30px;
                    width: 100px;
                    display: inline-block;
                    &:hover{
                        height: 100px;
                    }
                }
                a{
                    font-size: 14px;
                    color: $linkColor;
                    @include transition(.3s);
                    margin: 0 10px;
                    position: relative;
                    .icon-down{
                        font-size: 9px;
                        display: inline-block;
                        @include transition(.3s);
                    }
                    &:hover{
                        color: $cmnColor;
                        .icon-down{
                            @include transform-rotateZ(180deg);
                        }
                    }
                    .select-down{
                        display: none;
                        box-shadow: $shadow;
                        width: 96px;
                        position: relative;
                        top: 26px;
                        right: 6px;
                        text-align: center;
                        &>div{
                            font-size: 14px;
                            text-align: center;
                            color: rgba(0,0,0,.65);
                            padding: 9px 12px;
                            border-radius: 4px;
                        }
                        &>div:hover{
                            background-color:rgba($color: $cmnColor, $alpha: 0.1);
                        }
                    }
                }
                .slice{
                    vertical-align: middle;
                    display: inline-block;
                    margin-left: 10px;
                    margin-right: 10px;
                    height: 14px;
                    width: 0;
                    border-right: 1px solid #ddd;
                }
            }
        }
        .input-module{
            .module-top{
                height: 627px;
                width: 100%;
                margin-top: 20px;
                &>div{
                    box-shadow: 0 20px 50px 0 rgba($color: rgb(153, 152, 152), $alpha: 0.1);
                    position: relative;
                    height: 600px;
                    width: 450px;
                    padding: 40px 45px;
                    margin: auto;
                    border-radius: 4px;
                    overflow: hidden;
                    .manual-enter{
                        display: block;
                        .QRcode{
                            @include transition(all .3s cubic-bezier(.645,.045,.355,1));
                            opacity: .4;
                            &:hover{
                                opacity: 1;
                            }
                            cursor: pointer;
                            position: absolute;
                            right: 0;
                            top: 0;
                            height: 64px;
                            width: 64px;
                            border: 32px solid;
                            border-color: $cmnColor $cmnColor transparent transparent;
                            background-size: cover;
                            svg{
                                position: absolute;
                                bottom: -29px;
                                right: -37px;
                            }
                            .tooltip{
                                display: none;
                                padding: 5px 15px;
                                border-radius: 4px;
                                height: 30.8px;
                                width: 86px;
                                text-align: center;
                                font-size: 14px;
                                background-color: $cmnColor;
                                position: absolute;
                                right: 40px;
                                top: -20px;
                                box-shadow:$shadow;
                                .word{
                                    color: white;
                                    font-weight: 400;
                                }
                                .corner{
                                    background-color: $cmnColor;
                                    width: 10px;
                                    height: 10px;
                                    @include transform-rotateZ(45deg);
                                    position: absolute;
                                    right: -4px;
                                    top: 10px;
                                }
                            }
                        }
                        .title-module{
                            display: flex;
                            align-items: center;
                            margin-bottom: 35px;
                            position: relative;
                            .title-login{
                                font-weight: 600;
                                color: black;
                                font-size: 20px;
                                @include transition(.3s);
                            }
                            span{
                                &:hover{
                                    cursor: pointer;
                                }
                                margin-right: 25px;
                            }
                            font-size: 18px;
                            font-weight: 500;
                            margin-right: 20px;
                            color: $linkColor;
                            &>div{
                                height: 4px;
                                width: 40px;
                                background-color: $cmnColor;
                                @include transition(.3s);
                                position: absolute;
                                top: 28px;
                                left: 0;
                                border-radius: 450px;
                            }
                        }
                        .login-information{
                            display: block;
                            li{
                                margin-top: 20px;
                                position: relative;
                                label{
                                    @include transition(.15s);
                                    position: absolute;
                                    top: 20px;
                                    left: 20px;
                                    z-index: -1;
                                    color: rgba(0,0,0,.8);;
                                }
                            }
                            &>ul>li:nth-child(-n+2)>input{
                                background: rgb(241, 241, 241);
                                opacity: 0.5;
                                padding: 30px 20px 10px;
                                height: 60px;
                                box-sizing: border-box;
                                width: 100%;
                                border: none;
                                font-size: 17px;
                                color: #333;
                                line-height: 20px;
                                border-radius: 4px;
                                outline: none;
                                @include transition(.3s);
                            }
                            .errorMsg{
                                margin-top: 15px;
                                display: none;
                                font-size: 10px;
                                color: $cmnColor;
                            }
                            .openEye{
                                display: none;
                                position: absolute;
                                right: 20px;
                                top: 20px;
                                opacity: 0.7;
                                @include transition(.3s);
                                &:hover{
                                    cursor: pointer;
                                    opacity: 1;
                                }
                            }
                            .closeEye{
                                display: block;
                                position: absolute;
                                right: 20px;
                                top: 20px;
                                opacity: 0.7;
                                @include transition(.3s);
                                &:hover{
                                    cursor: pointer;
                                    opacity: 1;
                                }
                            }
                            .loginBtn{
                                height: 60px;
                                box-sizing: border-box;
                                width: 100%;
                                border: none;
                                font-size: 17px;
                                font-weight: 400;
                                color: white;
                                line-height: 20px;
                                border-radius: 4px;
                                background: rgba($color: $cmnColor, $alpha: 0.5);
                                @include transition(.3s);
                                &:hover{
                                    background: rgba($color: $cmnColor, $alpha: 0.3);
                                }
                            }
                            .other-choose{
                                display: flex;
                                justify-content: space-between;
                                a{
                                    @include transition(.3s);
                                    color: $cmnColor;
                                    &:hover{
                                        opacity: 0.8;
                                    }
                                }
                            }
                            .other-login{
                                margin-top: 100px;
                                span{
                                    display: inline-block;
                                    color: rgba($color: $linkColor, $alpha: 0.5);
                                    font-weight: 400;
                                    width: 100%;
                                    height: 100%;
                                    text-align: center;
                                }
                                 ul{
                                   width: 100%; 
                                   text-align: center;
                                   margin-top: 20px;
                                   li{
                                       width: 46px;
                                       height: 46px;
                                       display: inline-block;
                                       margin: 0 12px;
                                       svg{
                                           height: 100%;
                                           width: 100%;
                                       }
                                   }
                                 }
                            }
                        }
                        .register-information{
                            display: none;
                            li{
                                margin-top: 20px;
                                position: relative;
                                label{
                                    @include transition(.15s);
                                    position: absolute;
                                    top: 20px;
                                    left: 20px;
                                    z-index: -1;
                                    color: rgba(0,0,0,.4);;
                                }
                            }
                            &>ul>li:nth-child(-n+3)>input{
                                background: rgb(241, 241, 241);
                                opacity: 0.5;
                                padding: 30px 20px 10px;
                                height: 60px;
                                box-sizing: border-box;
                                width: 100%;
                                border: none;
                                font-size: 17px;
                                color: #333;
                                line-height: 20px;
                                border-radius: 4px;
                                outline: none;
                                @include transition(.3s);
                            }
                            .verify-module{
                                div{
                                    @include flex;
                                    justify-content: center;
                                    align-items: center;
                                    width: 35%;
                                    height: 100%;
                                    position: absolute;
                                    right: 0;
                                    top: 0;
                                    background-color: rgba($color: $cmnColor, $alpha: 0.5);
                                    color: white;
                                    border-top-right-radius: 4px;
                                    border-bottom-right-radius: 4px;
                                    font-size: 20px;
                                    @include transition(.3s);
                                    &:hover{
                                        cursor: pointer;
                                       background-color:rgba($color: $cmnColor, $alpha: 0.3);
                                    }
                                }
                            }
                            .agreement{
                                width: 100%;
                                text-align: center;
                                a{
                                    font-size: 14px;
                                    color: $linkColor;
                                    input{
                                        width: 20px;
                                        height: 20px;
                                        position: relative;
                                        top: 5px;
                                        
                                    }
                                    .text-a{
                                        font-size: 12px;
                                        color: $linkColor;
                                    }
                                }
                                .link-a{
                                    color: black;
                                }
                            }
                            .errorMsg{
                                margin-top: 15px;
                                display: none;
                                font-size: 10px;
                                color: $cmnColor;
                            }
                            .openEye{
                                display: none;
                                position: absolute;
                                right: 20px;
                                top: 20px;
                            }
                            .closeEye{
                                position: absolute;
                                right: 20px;
                                top: 20px;
                                display: block;
                            }
                            .loginBtn{
                                height: 60px;
                                box-sizing: border-box;
                                width: 100%;
                                border: none;
                                font-size: 17px;
                                font-weight: 400;
                                color: white;
                                line-height: 20px;
                                border-radius: 4px;
                                background: rgba($color: $cmnColor, $alpha: 0.5);
                                @include transition(.3s);
                                &:hover{
                                    background: rgba($color: $cmnColor, $alpha: 0.3);
                                }
                            }
                            .other-choose{
                                display: flex;
                                justify-content: space-between;
                                a{
                                    @include transition(.3s);
                                    color: $cmnColor;
                                    &:hover{
                                        opacity: 0.8;
                                    }
                                }
                            }
                            .other-login{
                                position: absolute;
                                bottom: 40px;
                                width: 360px;
                                span{
                                    display: inline-block;
                                    color: rgba($color: $linkColor, $alpha: 0.5);
                                    font-weight: 400;
                                    width: 100%;
                                    height: 100%;
                                    text-align: center;
                                }
                                 ul{
                                   width: 100%; 
                                   text-align: center;
                                   margin-top: 20px;
                                   li{
                                       width: 46px;
                                       height: 46px;
                                       display: inline-block;
                                       margin: 0 12px;
                                       svg{
                                           height: 100%;
                                           width: 100%;
                                       }
                                   }
                                 }
                            }
                        }
                    }
                    .QR-enter{
                        display: none;
                        .QRcode{
                            @include transition(all .3s cubic-bezier(.645,.045,.355,1));
                            opacity: .4;
                            &:hover{
                                opacity: 1;
                            }
                            cursor: pointer;
                            position: absolute;
                            right: 0;
                            top: 0;
                            height: 64px;
                            width: 64px;
                            border: 32px solid;
                            border-color: $cmnColor $cmnColor transparent transparent;
                            background-size: cover;
                            svg{
                                position: absolute;
                                bottom: -17px;
                                right: -25px;
                            }
                            .tooltip{
                                display: none;
                                padding: 5px 15px;
                                border-radius: 4px;
                                height: 30.8px;
                                width: 86px;
                                text-align: center;
                                font-size: 14px;
                                background-color: $cmnColor;
                                position: absolute;
                                right: 40px;
                                top: -20px;
                                box-shadow:$shadow;
                                .word{
                                    color: white;
                                    font-weight: 400;
                                }
                                .corner{
                                    background-color: $cmnColor;
                                    width: 10px;
                                    height: 10px;
                                    @include transform-rotateZ(45deg);
                                    position: absolute;
                                    right: -4px;
                                    top: 10px;
                                }
                            }
                        }
                        .title{
                            max-width: 360px;
                            margin: 0 auto 30px;
                            text-align: center;
                            font-size: 22px;
                            font-weight: 600;
                            color: #333;
                            line-height: 40px;
                        }
                        .QR-img{
                            width: 100%;
                            display: flex;
                            justify-content: center;
                            position: relative;
                            img:nth-child(1){
                                width: 180px;
                                height: 180px;
                            }
                            img:nth-child(2){
                                width: 41px;
                                height: 41px;
                                position: absolute;
                                left: 0;
                                right: 0;
                                bottom: 0;
                                top: 0;
                                margin: auto;
                            }
                        }
                        .problem{
                            font-size: 14px;
                            margin: 40px 0;
                            text-align: center;
                            position: relative;
                            svg{
                                vertical-align: middle;
                                path{
                                    @include transition(.3s);
                                }
                            }
                            .anwser_problem{
                                display: none;
                                box-shadow: $shadow;
                                width: 403px;
                                height: 315px;
                                position: absolute;
                                right: -390px;
                                top: -152px;
                                &>ul{
                                    width: 100%;
                                    height: 100%;
                                    padding: 30px;
                                    li{
                                        width: 100%;
                                        margin-top: 9px;
                                    }
                                    &>li:nth-child(1){
                                        text-align: center;
                                        font-size: 18px;
                                        font-weight: 600;
                                        color: #333;
                                        line-height: 40px;
                                        border-bottom: none;
                                    }
                                    .ask{
                                        display: block;
                                        text-align: left;
                                        font-size: 17px;
                                        font-weight: 600;
                                        color: #333;
                                        line-height: 1.45;
                                        padding: 8px 0;
                                    }
                                    .answer{
                                        display: block;
                                        text-align: left;
                                        font-size: 14px;
                                        font-weight: 400;
                                        color: #333;
                                        line-height: 20px;
                                    }
                                }
                                .corner{
                                    background-color: white;
                                    width: 10px;
                                    height: 10px;
                                    @include transform-rotateZ(45deg);
                                    position: absolute;
                                    left: -4px;
                                    top: 157.5px;
                                }
                            }
                        }
                        .other-QR{
                            margin-top: 100px;
                            span{
                                display: inline-block;
                                color: rgba($color: $linkColor, $alpha: 0.5);
                                font-weight: 400;
                                width: 100%;
                                height: 100%;
                                text-align: center;
                            }
                             ul{
                               width: 100%; 
                               text-align: center;
                               margin-top: 20px;
                               li{
                                   width: 46px;
                                   height: 46px;
                                   display: inline-block;
                                   margin: 0 12px;
                                   svg{
                                       height: 100%;
                                       width: 100%;
                                   }
                                   span{
                                       display: inline-block;
                                       width: 48px;
                                       height: 20px;
                                       font-size: 12px;
                                   }
                               }
                             }
                        }
                    }
                }
            }
            .module-bottom{
                font-size: 12px;
                font-family: "MI Lan Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
                margin-top: 60px;
                margin-bottom: 20px;
                text-align: center;
                color: #999999;
            }
        }
    }
}
